package com.bby.disk.manager.download;

import com.bby.common.utils.StatusCode;
import lombok.Data;

@Data
public class DirectLinkResult {
    String fileId;
    String directId;
    int code;
    String msg;

    public DirectLinkResult() {
    }

    public DirectLinkResult(String fileId, String directId) {
        this.directId = directId;
        code= StatusCode.OK;
    }

    public DirectLinkResult(String fileId, int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
